package com.lxit.cms.action.admin.assist.cn.msg;
/**
 * @desc:Deliver消息结构定义：
 *  tP_pid,tP_udhi,src_terminal_type,registered_Delivery默认为0
 *  msg_Fmt默认为15
 * @project:蓝杰中国移动Cmpp短信网关项目开发 Jun 18, 2009
 * @author: 蓝杰www.netjava.cn
 */
public class MsgDeliver extends MsgHead{
	  
	  private  long  msg_Id              ;
	  private  String  dest_Id           ; //sp特服号
	  private  String  service_Id        ;
	  private  byte  tP_pid =0             ;
	  private  byte  tP_udhi=0             ;
	  private  byte  msg_Fmt  =15           ;
	  private  String  src_terminal_Id   ;
	  private  byte  src_terminal_type  =0 ;
	  private  byte  registered_Delivery=0 ;
	  private  byte  msg_Length          ;
	  private  String  msg_Content       ;
	  private  String  linkID   ;
	  
	  private long sendTime=System.currentTimeMillis();
	  private int sendResult=-1;//是否己回应答
	  
	  //如果是状态报告:
	  private long  msg_Id_report             ;
	  private String  stat             ;
	  private String  submit_time      ;
	  private String  done_time        ;
	  private String  dest_terminal_Id ;
	  private int  sMSC_sequence       ;
	  
	  
	  //以下为对应的getter/Setter方法
	  public String toString(){
		  StringBuffer stb=new StringBuffer();
		  stb.append(super.toString());
		  stb.append("\r\nDeliver:dest_Id:"+dest_Id);
		  stb.append("msg_Content:"+msg_Content);
		  stb.append("sendResult:"+sendResult);
		  return stb.toString();
	  }
	 
	public long getMsg_Id() {
		return msg_Id;
	}
	public void setMsg_Id(long msg_Id) {
		this.msg_Id = msg_Id;
	}
	public String getDest_Id() {
		return dest_Id;
	}
	public void setDest_Id(String dest_Id) {
		this.dest_Id = dest_Id;
	}
	public String getService_Id() {
		return service_Id;
	}
	public void setService_Id(String service_Id) {
		this.service_Id = service_Id;
	}
	public byte getTP_pid() {
		return tP_pid;
	}
	public void setTP_pid(byte tp_pid) {
		tP_pid = tp_pid;
	}
	public byte getTP_udhi() {
		return tP_udhi;
	}
	public void setTP_udhi(byte tp_udhi) {
		tP_udhi = tp_udhi;
	}
	public byte getMsg_Fmt() {
		return msg_Fmt;
	}
	public void setMsg_Fmt(byte msg_Fmt) {
		this.msg_Fmt = msg_Fmt;
	}
	public String getSrc_terminal_Id() {
		return src_terminal_Id;
	}
	public void setSrc_terminal_Id(String src_terminal_Id) {
		this.src_terminal_Id = src_terminal_Id;
	}
	public byte getSrc_terminal_type() {
		return src_terminal_type;
	}
	public void setSrc_terminal_type(byte src_terminal_type) {
		this.src_terminal_type = src_terminal_type;
	}
	public byte getRegistered_Delivery() {
		return registered_Delivery;
	}
	public void setRegistered_Delivery(byte registered_Delivery) {
		this.registered_Delivery = registered_Delivery;
	}
	public byte getMsg_Length() {
		return msg_Length;
	}
	public void setMsg_Length(byte msg_Length) {
		this.msg_Length = msg_Length;
	}
	public String getMsg_Content() {
		return msg_Content;
	}
	public void setMsg_Content(String msg_Content) {
		this.msg_Content = msg_Content;
	}
	public String getLinkID() {
		return linkID;
	}
	public void setLinkID(String linkID) {
		this.linkID = linkID;
	}
	public long getMsg_Id_report() {
		return msg_Id_report;
	}
	public void setMsg_Id_report(long msg_Id_report) {
		this.msg_Id_report = msg_Id_report;
	}
	public String getStat() {
		return stat;
	}
	public void setStat(String stat) {
		this.stat = stat;
	}
	public String getSubmit_time() {
		return submit_time;
	}
	public void setSubmit_time(String submit_time) {
		this.submit_time = submit_time;
	}
	public String getDone_time() {
		return done_time;
	}
	public void setDone_time(String done_time) {
		this.done_time = done_time;
	}
	public String getDest_terminal_Id() {
		return dest_terminal_Id;
	}
	public void setDest_terminal_Id(String dest_terminal_Id) {
		this.dest_terminal_Id = dest_terminal_Id;
	}
	public int getSMSC_sequence() {
		return sMSC_sequence;
	}
	public void setSMSC_sequence(int smsc_sequence) {
		sMSC_sequence = smsc_sequence;
	}
	public int getSendResult() {
		return sendResult;
	}
	public void setSendResult(int sendResult) {
		this.sendResult = sendResult;
	}

}
